package com.dreamwhale.machinery.user.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户提现表
 * </p>
 *
 * @author Author
 * @since 2020-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yx_user_extract")
public class YxUserExtract implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer uid;

    /**
     * 名称
     */
    private String realName;

    /**
     * bank = 银行卡 alipay = 支付宝wx=微信
     */
    private String extractType;

    /**
     * 银行卡
     */
    private String bankCode;

    /**
     * 开户地址
     */
    private String bankAddress;

    /**
     * 支付宝账号
     */
    private String alipayCode;

    /**
     * 提现金额
     */
    private BigDecimal extractPrice;

    private String mark;

    private BigDecimal balance;

    /**
     * 无效原因
     */
    private String failMsg;

    private Integer failTime;

    /**
     * 添加时间
     */
    private Integer addTime;

    /**
     * -1 未通过 0 审核中 1 已提现
     */
    private Integer status;

    /**
     * 微信号
     */
    private String wechat;


}
